/**
 * @Title: StringUtil.java
 * @Package com.btime.webser.util
 * @Description: 
 * Copyright: Copyright (c) 2015 
 * Company:杭州点望科技有限公司
 */
package com.htime.util;

import org.apache.commons.lang3.StringUtils;
import org.apache.log4j.Logger;

/**
 * @ClassName: StringUtil
 * @Description:
 */
public class StringUtil{

	private static final String UTF_8 = "UTF-8";

	private static final Logger LOGGER = Logger.getLogger(StringUtil.class);

	public static boolean isNumber(String str) {
		if (StringUtils.isBlank(str)){
			return false;
		}
		return str.trim().matches("^[0-9]*$");
	}

}
